using System;
using System.Collections.Generic;

namespace Viettel.VOFFICE.DAO.Models
{
    public class Book
    {
        public Book()
        {
            this.DocumentBooks = new List<DocumentBook>();
            this.DocumentTypes = new List<DocumentType>();
        }

        public int Id { get; set; }
        public string Name { get; set; }
        public string Description { get; set; }
        public byte BookType { get; set; }
        public Nullable<int> CurrentNumber { get; set; }
        public Nullable<int> Sequence { get; set; }
        public Nullable<bool> IsActive { get; set; }
        public Nullable<bool> IsCommon { get; set; }
        public Nullable<bool> IsDefault { get; set; }
        public string Format { get; set; }
        public Nullable<byte> ResetBy { get; set; }
        public Nullable<int> OfficeIdUse { get; set; }
        public System.DateTime CreatedAt { get; set; }
        public System.DateTime UpdatedAt { get; set; }
        public string WithoutAccent { get; set; }
        public Nullable<System.Guid> CreatorId { get; set; }
        public virtual v_Department v_Department { get; set; }
        public virtual ICollection<DocumentBook> DocumentBooks { get; set; }
        public virtual ICollection<DocumentType> DocumentTypes { get; set; }
    }
}
